-- GENERATED SPELL FOR [Immolatus] --


function spell0_7137(pUnit, Event) --@Knock Away,n/a--
pUnit:FullCastSpellOnTarget(10101,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7137', 606, 1)
end

function Sorts_7137(pUnit, Event)
local choix_sorts_7137 = math.random(0, 0)
if choix_sorts_7137 == 0 then
pUnit:RegisterEvent('spell0_7137', 1, 1)
end
end

function mob7137_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7137', math.random(1500, 3000), 1)
end

function mob7137_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7137_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7137_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7137, 1, 'mob7137_Action')
RegisterUnitEvent(7137, 2, 'mob7137_Leave')
RegisterUnitEvent(7137, 3, 'mob7137_Kill')
RegisterUnitEvent(7137, 4, 'mob7137_Die')
